package android.slc.appbase.ui.vd.wrapper;

import android.slc.or.OnResultsListener;

import androidx.databinding.Observable;
import androidx.databinding.ObservableField;

import java.util.List;

public class BaseListWrapper<T> extends BaseListCommonWrapper<List<T>> implements IBaseListWrapper<T>{

    public BaseListWrapper(OnResultsListener<List<T>> onResultsListener) {
        super(onResultsListener);
    }

    public final ObservableField<Void> startRefreshOf = new ObservableField<>();

    /**
     * 开始刷新
     *
     * @return
     */
    @Override
    public Observable getStartRefreshOf() {
        return startRefreshOf;
    }
}